package com.jiegui.business.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.TableName;
import com.jiegui.common.annotation.Excel;
import com.jiegui.common.core.domain.BaseQueryEntity;
import lombok.Data;

import java.util.Date;

/**
 * 资讯列对象 news_info
 *
 * @author wuqicheng
 * @date 2024-11-20
 */
@Data
@TableName("news_info")
public class NewsInfo extends BaseQueryEntity {
    private static final long serialVersionUID = 1L;


    /**
     * $column.columnComment
     */
    private String id;

    /**
     * 类型 MAIN 展会资讯
     * GROUP 行业资讯
     * FOOD 食品安全
     * HEALTH 健康饮食
     */

    private String newsType;


    private String showMsg;

    /**
     * 标题
     */
    @Excel(name = "标题", readConverterExp = "标题")
    private String titel;

    /**
     * 状态 RUN 有效，STOP 停止
     */
    @Excel(name = "状态 RUN 有效，STOP 停止", readConverterExp = "状态 RUN 有效，STOP 停止")
    private String state;

    /**
     * $column.columnComment
     */

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "$column.columnComment", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /**
     * $column.columnComment
     */

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "$column.columnComment", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date update;


}
